from django.urls import path

from . import views
from . import comment_views
from . import activity_views
from . import activity_comment_views
from . import board_views
from . import board_comment_views
from . import other_type_view

urlpatterns = [
    # 帖子部分
    path('post_topic', views.post_topic),
    path('get_topic_detail', views.get_topic_detail),
    path('get_topic_list', views.get_topic_list),
    path('get_top10_topic', views.get_top10_topic),
    path('attachments_upload', views.attachments_upload),
    path('attachments_upload_norecord', views.attachments_upload_norecord),
    path('topic_thumb', views.topic_thumb),
    path('topic_follow', views.topic_follow),
    path('delete_topic', views.delete_topic),
    path('get_topic_category', views.get_topic_category),
    path('update_topic', views.update_topic),
    path('mobile_update_topic', views.mobile_update_topic),

    path('search_topic', views.search_topic),

    # 帖子评论部分
    path('post_comment', comment_views.post_comment),
    path('get_comment_list', comment_views.get_comment_list),
    path('comment_thumb', comment_views.comment_thumb),

    # 活动部分
    path('activity/post_activity', activity_views.post_activity),
    path('activity/get_activity_list', activity_views.get_activity_list),
    path('activity/get_activity_detail', activity_views.get_activity_detail),
    path('activity/activity_thumb', activity_views.activity_thumb),
    path('activity/activity_follow', activity_views.activity_follow),
    path('activity/post_comment', activity_comment_views.post_comment),
    path('activity/get_comment_list', activity_comment_views.get_comment_list),
    path('activity/comment_thumb', activity_comment_views.comment_thumb),

    # 品牌部分
    path('board/post_board', board_views.post_board),
    path('board/get_board_list', board_views.get_board_list),
    path('board/get_board_detail', board_views.get_board_detail),
    path('board/board_thumb', board_views.board_thumb),
    path('board/board_follow', board_views.board_follow),
    path('board/post_comment', board_comment_views.post_comment),
    path('board/get_comment_list', board_comment_views.get_comment_list),
    path('board/comment_thumb', board_comment_views.comment_thumb),

    # 单独活动部分
    path('activity/meeting', other_type_view.activity_meeting),
    path('activity/meeting/base', other_type_view.activity_meeting_base),
    path('check/activity/meeting', other_type_view.check_activity_meeting_role),
]